package com.zmn.oms.common.dio.normal.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Set;

/**
 * 类描述：
 *
 * @author wangxiaokun
 * @since 2022/04/08 15:29
 */
@ApiModel("动态查询工单数据入参")
@Data
public class OrderWorkQuery implements Serializable {

    private static final long serialVersionUID = -4456296598681587216L;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单号", required = true)
    @NotNull(message = "订单号不能为空")
    private Long orderId;

    /**
     * 工单id
     */
    @ApiModelProperty(value = "工单号", required = true)
    @NotNull(message = "工单号不能为空")
    private Long workId;

    /**
     * 查询字段集合
     */
    @ApiModelProperty(value = "查询字段", required = true)
    @NotNull(message = "查询字段不能为空")
    private Set<String> fieldList;
}
